import DS from 'ember-data';

//http://192.168.103.24:8080/code-ds/person/nations.json
export default DS.RESTAdapter.extend({
	// namespace: 'code-ds/person',
	// host: 'http://192.168.103.24:8080',
	buildURL: function(type, id, record) {
		console.log('buildURL')
		var url = 'http://192.168.103.24:8080/code-ds/person/';
		url += type + 's.json';
		return url;
	}
});